package com.yxw.timeDemo;

import lombok.Getter;

/**
 * Created by hp on 2015/11/26.
 */
public enum MsgEnum {

    MSG_SUCCESS("001","成功"),
    MSG_FAIL("002","失败"),
    ;

    @Getter
    private String code;

    @Getter
    private String desc;

    private MsgEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
